package dao

import "gorm.io/gorm"

type Video struct {
	gorm.Model
	UserId       int    `json:"userId" gorm:"type:int(10);not null;comment:'用户编号'"`
	Video        string `json:"video" gorm:"type:varchar(255);not null;comment:'视频'"`
	VideoTitle   string `json:"videoTitle" gorm:"type:varchar(200);not null;comment:'视频标题'"`
	Address      string `json:"address" gorm:"type:varchar(200);not null;comment:'地址'"`
	RedPkg       string `json:"redPkg" gorm:"type:varchar(200);not null;comment:'红包'"`
	Pkg          string `json:"pkg" gorm:"type:varchar(200);not null;comment:'套餐'"`
	Sex          int    `json:"sex" gorm:"type:tinyint(1);comment:'0-男1-女'"`
	Age          int    `json:"age" gorm:"type:int(3);comment:'年龄'"`
	GiveEveryOne int    `json:"giveEveryOne" gorm:"type:tinyint(1);default:1;comment:''0-不推荐1-推荐"`
	Where        string `json:"where" gorm:"type:varchar(200);comment:'仅哪里的人可见'"`
	OK           int    `json:"OK" gorm:"type:tinyint(1);default:1;comment:'1-发布审核中2-审核通过3-审核未通过'"`
}
